<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title><?php echo $this->pageTitle; ?></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
  </head>

  <body style='background:#FFFFFF;'>

    <div id="wrapper">
      <div class='grbac grbac_list' style='background-color:#FFF;'>
        <ul>
          <li><?php echo CHtml::link('<b class="grbac_mh">&nbsp;</b>Home',  array('/grbac/admin/gohome'))?></li>
          <li><?php echo CHtml::link('<b class="grbac_mm">&nbsp;</b>gRbac',  array('/grbac/admin/manage'))?></li>
          <li><?php echo CHtml::link('<b class="srbac_mm">&nbsp;</b>sRbac',  array('/srbac/authitem/manage'))?></li>
        </ul>
        <div class='fr'>
          <? if (Yii::app()->user->isGuest)
            echo CHtml::link('<b class="login">login</b>',    array('/grbac/authenticate/login'));
          else {
            echo CHtml::link('<b class="grbac_ma">&nbsp;</b>', array('/grbac/account/myaccount'));
            echo CHtml::link('<b class="grbac_mo">&nbsp;</b>',  array('/grbac/authenticate/logout'));
          } ?>
        </div>
      </div><hr />

      <div style='margin:10px' id='content2'>
        <?php echo $content; ?>
      </div>

    </div>
  </body>
</html>